# -*- codeing = utf-8 -*-
# @Time : 2022/9/14 13:16
# @Author : 计科1814-16-徐澳
# @Software: PyCharm
'''
    密码只能由数字或字母组成(不区分大小写)
    低级密码:
        单纯的数字或 or 字母 or 密码长度<=8
    高级密码:
        数字加字母 or 密码长度>8
    要求让用户输入一段文本，系统按要求判断是低强度密码还是高强度密码
'''
pwd = input("请输入密码: ")
lenth = len(pwd)
flag = True
for i in pwd:
    if i.isalnum() == False:
        print("密码只能由数字或字母组成!!!")
        flag = False
        break
if (pwd.isnumeric() or pwd.isalpha()) and flag:
    if lenth<=8:
        print("这是一个低级密码")
    else:
        print("这是一个高级密码")
elif pwd.isnumeric() == False and pwd.isalpha() == False and flag:
    print("这是一个高级密码")

#








# a = "123445"
# b = "qqqqeee"
# c = "123awe"
# print(a.isnumeric())      #.isnumeric()判断是否为数字
#                       # .isalpha()判断是否为数字母
# print(b.isnumeric())      #.isalnum()判断是否为数字或字母
# print(c.isnumeric())
# print("-"*20)
# print(a.isalpha())
# print(b.isalpha())
# print(c.isalpha())
# print("-"*20)
# print(a.isalnum())
# print(b.isalnum())
# print(c.isalnum())
# for i in pwd:
#